﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>登录</title>
<meta name="keywords" content="keywords" />
<meta name="description" content="description" />
<{include file="block/meta.tpl"}>
<link type="text/css" rel="stylesheet" href="<{$__HST_UI}>/css<{$_The.ScriptBase}>.css" />
</head>
<body>
<{include file="block/header.tpl"}>

<div class="content">
	<div><h1>请登录</h1></div>
	<div class="login_form">
		<form method="post">
		<input type="hidden" name="action" value="login" />
		<input type="hidden" name="back" value="<{$sBack|escape:html}>" />
		<ul>
			<li><span>邮箱：</span>
<input type="text" id="acct" name="acct" value="<{$rP.acct|escape:html}>"
onblur="$.get('?action=check&field=acct&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#acct_hint').html(msg).show();}else{$('#acct_hint').hide();}
});" />
<span class="hint" id="acct_hint"<{if !$rMsg.acct}> style="display:none;"<{/if}>><{$rMsg.acct|escape:html}></span>
			</li>
			<li><span>密码：</span>
<input type="password" name="pswd"
onblur="$.get('?action=check&field=pswd&value='+encodeURIComponent(this.value), function(msg){
	if(msg){$('#pswd_hint').html(msg).show();}else{$('#pswd_hint').hide();}
});" />
<span class="hint" id="pswd_hint"<{if !$rMsg.pswd}> style="display:none;"<{/if}>><{$rMsg.pswd|escape:html}></span>
			</li>
			<li>
				<input type="submit" value="登录" />
				<a href="register.php">注册新用户</a>
			</li>
		</ul>
		</form>
		<script type="text/javascript">$('#acct').focus();</script>
	</div>
</div>

<{include file="block/footer.tpl"}>
</body>
</html>
